package com.hmsg.health.utils;

import java.util.HashMap;

/**
 * 请求对象
 *
 * @author Lujq
 * @since 1.0.0
 */
public class ApiRequest {
	// url映射地址
	private String mapping;
	// GET/POST/PUT/DELETE
	private String method;
	// 请求的IP
	private String ip;

	private String token;

	private String sign;

	private long timestamp;

	private HashMap<String, Object> params;

	public String getMapping() {
		return mapping;
	}

	public void setMapping(String mapping) {
		this.mapping = mapping;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public HashMap<String, Object> getParams() {
		return params;
	}

	public void setParams(HashMap<String, Object> params) {
		this.params = params;
	}

}
